﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sealight.Core.Domain
{
    public class ProductTypeEntity
    {
        public virtual Guid ProductTypeID { get; set; }
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }       
        public virtual DateTime  CreatedDate { get; set; }
        public virtual DateTime ModifiedDate { get; set; }
        public virtual Sealight.Core.DataAdapter.product_type ToDataAdapter()
        {
            return new DataAdapter.product_type {id=this.ProductTypeID, name=this.Name, description=this.Description, created_date=this.CreatedDate,
            modified_date = this.ModifiedDate};
        }
    }
}
